package ExerciseThree;

public class ExtendsTest {

	public static void main(String[] args) {

		Person p = new Person();
		
		//p.eat();
		
		//p.sleep();
		
		Student s = new Student("计算机科学与技术",2021141243);
		
		s.name = "tom";
		s.age = 18;
		//s.id = 532525;
		s.setId(532528);
		//s.number = 2021141240;
		
		//s.eat();
		s.sleep();
		s.show();
//		s.study();
//		System.out.println("name:"+s.name+",age:"+s.age+",id:"+s.getId()+",number:"+s.number);

	}

}
